
#include "ThreadEnumerator.h"
#include "tools/helpMacros.h"
#include SD_TL_PLATFORM_IMPL_INC( tools,ThreadEnumerator )



using namespace sd::tools;
using namespace sd::tools::thread_enumerator;




ProcessThreadEnumerator::ProcessThreadEnumerator():impl_(new impl::ProcessThreadEnumeratorImpl){}
ProcessThreadEnumerator::ProcessThreadEnumerator( int process ):impl_(new impl::ProcessThreadEnumeratorImpl(process)){}
ProcessThreadEnumerator::ProcessThreadEnumerator( const HHANDLE& handle ):impl_(new impl::ProcessThreadEnumeratorImpl(handle)){}
ProcessThreadEnumerator::~ProcessThreadEnumerator(){ delete impl_; }

void ProcessThreadEnumerator::reload()
{
	impl_->reload();
}

ProcessThreadEnumerator::iterator ProcessThreadEnumerator::begin()const
{
	return impl_->begin();
}
ProcessThreadEnumerator::iterator ProcessThreadEnumerator::end()const
{
	return impl_->end();
}
